package io.itit.ecp.admin.provide.action.resp;

import io.itit.grass.common.provide.action.resp.BaseResp;
import io.itit.grass.dict.starter.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;


/**
 * 小程序轮播图响应结果
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = true)
@ApiModel("小程序轮播图响应结果")
public class MiniProgramCarouseImageResp extends BaseResp {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("LOGO")
    private String logo;

    /**
     * 位置(1:广告页，2:首页)
     */
    @ApiModelProperty("位置(1:广告页，2:首页)")
    @Dict(isBean = true, dictCode = "MiniProgramCarouseImagePosition")
    private String position;

    /**
     * 类型(1:无，2:外链)
     */
    @ApiModelProperty("(1:无，2:外链)")
    @Dict(isBean = true, dictCode = "MiniProgramCarouseImageType")
    private String type;

    /**
     * 外链地址
     */
    @ApiModelProperty("外链地址")
    private String link;

    @ApiModelProperty("状态")
    private Boolean status;

    @ApiModelProperty("排序")
    private Integer sort;


}
